package webservice;

import vo.BibliographicData;
import vo.Description;

public class BuscapeWebService {

    private BiblioRetrieveWS biblioRetrieveWS;
    private DescriptionRequestWS descriptionWS;

    public BuscapeWebService() {
        biblioRetrieveWS = new BiblioRetrieveWS();
        descriptionWS = new DescriptionRequestWS();
        
    }

    public BibliographicData getBibliographicData(String docNumber)
            throws Exception {
        return biblioRetrieveWS.consultar(docNumber);
    }
    public Description getDescription(String docNumber)
    throws Exception {
    	return descriptionWS.consultar(docNumber);
}

}
